﻿using System;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Materials
{
    public class Material :Entity<Guid>,IMultiTenant
    {

        public virtual Guid? TenantId
        {
            get;set;
        }

        /// <summary>
        /// 原料名称
        /// </summary>
        public virtual string Name
        {
            get;set;
        }

        /// <summary>
        /// 单位
        /// </summary>
        public virtual MaterialUnit Unit
        {
            get;set;
        }

        /// <summary>
        /// 库存量
        /// </summary>
        public virtual int Stock
        {
            get;set;
        }
    }
}
